# frozen_string_literal: true

module Projects
  module Security
    class VulnerabilityReportController < Projects::ApplicationController
      include GovernUsageProjectTracking

      before_action do
        authorize_read_vulnerability!
        push_frontend_feature_flag(:vulnerability_report_grouping, @project)
      end

      feature_category :vulnerability_management
      urgency :low
      track_govern_activity 'security_vulnerability_report', :index

      alias_method :vulnerable, :project
    end
  end
end
